#ifndef APPLE_H_
#define APPLE_H_

#define HEIGHT 23
#define WIDTH 80

#include "Snake.h"

class Apple {
	public:
		Apple();
		virtual ~Apple();

		int getX() const;
		int getY() const;

		/*
		 * Wylosowywuje polozenie
		 */
		void choose();

		/*
		 * Sprawdza czy waz zjadl jablko
		 */
		bool check( const Snake& snake );
	private:
		int x, y;
};

#endif /* APPLE_H_ */
